package com.rockcent.mall.lib.repository;

import com.rockcent.common.domain.enumclass.Whether;
import com.rockcent.mall.lib.domain.Channel;
import com.rockcent.mall.lib.domain.MerchantCouponEvent;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * Created by zhangjh on 2016/10/24.
 */
@Repository
public interface MerchantChannelRepository  extends JpaRepository<Channel, Long>, JpaSpecificationExecutor,MerchantChannelRepositoryCustom {

    Channel getChannelByIdAndMerchantIdAndMallIdAndIsDelete(Long channelId, Long id, Long id1, Whether no);
}
